package com.five.service.Impl;

import com.five.dao.ClubPeopleDao;
import com.five.pojo.ClubPeople;
import com.five.service.ClubPeopleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author lenovo
 */
@Service
public class ClubPeopleServiceImpl implements ClubPeopleService {
    @Autowired
    ClubPeopleDao clubPeopleDao;
    @Override
    public ClubPeople findByName(String name) {
        ClubPeople clubPeople = clubPeopleDao.findByName(name);
        return clubPeople;
    }
}
